Comparison of results:
this is what I got by summing up Average values from the HPT scanner histogram:
Code:
0.4 0.8 1.2 1.6 2 2.4 2.8 3.2 3.6 4 4.4
15 0 0 -11 0 -8 -6 -5 -2 0 0 0
20 0 0 -11 -9 -11 -6 -2 -3 -5 0 0
25 0 -15 -13 -11 -9 -3 0 -4 -1 0 0
30 0 -8 -11 -3 -5 -1 0 2 2 -5 0
35 0 -8 -6 -1 -3 2 3 2 5 0 0
40 0 -5 -1 1 -1 2 1 3 0 0 1
45 0 -4 1 2 1 1 -2 1 0 -3 0
50 0 -1 2 4 3 2 -3 3 0 -2 1
55 0 2 5 7 6 4 0 1 -2 1 0
60 0 5 7 8 6 5 3 0 2 0 0
65 0 6 7 9 4 4 5 1 0 0 0
70 0 0 8 8 6 4 4 4 0 0 2
75 0 0 8 8 6 5 5 5 0 4 0
80 0 0 7 5 4 5 3 4 3 3 0
85 0 0 3 4 4 6 3 4 2 5 5
90 0 0 7 5 4 6 4 4 5 5 0
95 0 0 6 4 3 4 2 1 0 0 0
This is the result of what I got by running your script (with my mods) on the same log:
Code:
0.4 0.8 1.2 1.6 2 2.4 2.8 3.2 3.6 4 4.4
15 0 0 0 0 -15 -14 -4 0 -6 0 0
20 0 0 -14 -12 -11 -9 0 0 -6 0 0
25 0 0 -12 -13 -6 -5 0 0 -3 0 0
30 0 -9 -10 -7 -4 -4 -1 0 -4 0 -5
35 0 -7 -8 -2 -1 -1 2 3 3 0 0
40 0 -6 -5 0 1 -1 1 1 1 0 0
45 0 -3 1 2 3 0 3 -4 0 -3 0
50 0 -1 1 4 5 3 2 0 2 0 0
55 0 0 5 7 8 4 3 3 -2 0 0
60 0 0 6 7 7 5 4 4 -4 0 0
65 0 0 9 7 8 4 3 9 -2 0 0
70 0 0 0 8 7 5 3 4 0 0 0
75 0 0 0 7 6 4 3 5 0 0 0
80 0 0 0 6 5 4 4 9 2 0 0
85 0 0 0 2 4 4 5 3 7 0 0
90 0 0 0 1 3 5 5 4 0 0 0
95 0 0 0 3 3 3 3 5 0 0 0
Quite different, ain't it?
That means few things:
1. Different criteria for admitting/tossing out values (you just take anything > -100 and < 100) maybe we should be more selective, like +/- 15?
2. Ignoring data with other, certain conditions (coolant not up to full temp, idling in traffic, etc). This one is easy to verify, if we gather exclusively RPM,MAP,STFT's,LTFT's then their averages should be closer to ours
3. Resolution between values accounted and values displayed. We don't see any decimals in the Histogram, but we got them in the logs. (the conclusions of 'Can a butterfly cause a tornado' paper come to mind)
4. Averages might be counted differently. Maybe they're weighted toward the newer values, as most of us just reset the fuel trims and drive for an hour, don't do 5 full driving cycles in variety in conditions (aka proper scientific approach, not just a impatient hack)
Any other things that can go wrong that I haven't accounted for?